package com.hippo.api.sys.entity;

import com.hippo.common.base.entity.BaseEntity;

import java.util.List;

public class UserEntity extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    private String userId;

    /**
     * 用户头像
     */
    private String headImg;

    /**
     * 用户编号
     */
    private String userCode;

    /**
     * 用户名
     */
    private String userName;

    /**
     * 密码
     */
    private String password;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 性别：1男，2女，3保密
     */
    private String sex;

    /**
     * 电话
     */
    private String telephone;

    /**
     * 邮箱
     */
    private String email;


    /**
     * 描述
     */
    private String userDescribe;

    /**
     * 部门列表
     */
    private List<DeptEntity>  depts;


    /**
     * 角色列表
     */
    private List<RoleEntity> roles;


    /**
     * 邮件开关(1开启，2关闭)
     */
    private String emailSwitch;

    /**
     * 短信开关(1开启，2关闭)
     */
    private String smsSwitch;

    /**
     * 身份证
     */
    private String idCard;

    /**
     * 密钥
     */
    private String key;

    /**
     * 应用token
     */
    private String appToken;

    /**
     * 是否超级用户(1否，2是)
     */
    private String isSuperUser;



    public String getIsSuperUser() {
        return isSuperUser;
    }

    public void setIsSuperUser(String isSuperUser) {
        this.isSuperUser = isSuperUser;
    }

    public String getAppToken() {
        return appToken;
    }

    public void setAppToken(String appToken) {
        this.appToken = appToken;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getUserId() {
        return userId;
    }


    public void setUserId(String userId) {
        this.userId = userId;
        this.setValue(userId);
    }


    public String getUserName() {
        return userName;
    }


    public void setUserName(String userName) {
        this.userName = userName;
    }


    public String getPassword() {
        return password;
    }


    public void setPassword(String password) {
        this.password = password;
    }


    public String getRealName() {
        return realName;
    }


    public void setRealName(String realName) {
        this.realName = realName;
        this.setLabel(realName);
    }


    public String getTelephone() {
        return telephone;
    }


    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }


    public String getUserDescribe() {
        return userDescribe;
    }


    public void setUserDescribe(String userDescribe) {
        this.userDescribe = userDescribe;
    }


    public String getUserCode() {
        return userCode;
    }


    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }




    public String getEmail() {
        return email;
    }


    public void setEmail(String email) {
        this.email = email;
    }


    public String getSex() {
        return sex;
    }


    public void setSex(String sex) {
        this.sex = sex;
    }





    public List<DeptEntity> getDepts() {
        return depts;
    }


    public void setDepts(List<DeptEntity> depts) {
        this.depts = depts;
    }


    public List<RoleEntity> getRoles() {
        return roles;
    }


    public void setRoles(List<RoleEntity> roles) {
        this.roles = roles;
    }


    public String getHeadImg() {
        return headImg;
    }


    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }



    public String getEmailSwitch() {
        return emailSwitch;
    }


    public void setEmailSwitch(String emailSwitch) {
        this.emailSwitch = emailSwitch;
    }


    public String getSmsSwitch() {
        return smsSwitch;
    }


    public void setSmsSwitch(String smsSwitch) {
        this.smsSwitch = smsSwitch;
    }


    public String getIdCard() {
        return idCard;
    }


    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
    
}
